<div id="sidebar">

<?php if (get_option('swt_banners') == 'Hide') { ?>
<?php { echo ''; } ?>
<?php } else { include(TEMPLATEPATH . '/includes/banners.php'); } ?>

    <?php if (!function_exists('dynamic_sidebar')
	|| !dynamic_sidebar()) : ?>

    <div class="side-widget">
    <h3>页</h3>
    <ul><?php wp_list_pages('title_li=' ); ?></ul>
    </div>

    <?php endif; ?>
</div>

<div id="sidebar2">
<div id="footer1">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(2) ) :
endif; ?>
</div>

<div id="footer2">
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(3) ) : 
endif; ?>
</div>

<div id="footer3">

<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(4) ) :
endif; ?>
</div>

<div id="footer4">

<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar(5) ) :
endif; ?>
</div></div>